#include <iostream>

#include <vector>

using namespace std;

int main(int argc, const char *argv[])
{ 
    vector<int> *m_v = new vector<int>{1,2,3,4,5,6};

    cout << m_v->at(1) << endl;

    for (auto ite : *m_v) {
        cout << ite << endl;
    }

    return 0;
}
